﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Flame.Dlr
{
    public class InputEventArg : EventArgs
    {
        public Type Language { get; set; }
        public string Input { get; set; }
    }

    public class ErrorEventArg : EventArgs
    {
        public Type Language { get; set; }
        public Exception Error { get; set; }
        public bool ReTry { get; set; }
        public ErrorEventArg()
        {
            ReTry = false;
        }
    }

    public class ResultEventArg : EventArgs
    {
        public Type Language { get; set; }
        public Result Result { get; set; }
    }
    public class ClearedScopeEventArgs : EventArgs
    {
        public IExecutable Exec { get; set; }
    }
}
